Revision: tla--edgomez--1.1--patch-6
Archive: ed.gomez@free.fr--2003-1
Creator: Edouard Gomez <ed.gomez@free.fr>
Date: Sat Jul 12 22:41:32 CEST 2003
Standard-date: 2003-07-12 20:41:32 GMT
Summary: Fixes "import" command behavior for log messages.
Keywords: 
New-files: 
New-directories: 
Removed-files: 
Removed-directories: 
Renamed-files: 
Renamed-directories: 
Modified-files: ./libarch/cmd-imprev.c
Modified-directories: 
New-patches: ed.gomez@free.fr--2003-1/tla--edgomez--1.1--patch-6
Removed-patches: 

import command was ignoring logs generated by a previous make-log
command. This is not what is described in the tutorial and, btw, is
not what most people is probably expecting.

Now the behavior is as follow:
 1/ if a log filename is passed in options (-l) -> check for log existence
    * the file exists, go on
    * exit with failure (log file not found)
 2/ if no log filename is given -> set log filename to default one
 3/ Check if log is accessible
    * if yes, read contents and check log validity as usual
    * if no, then the make-log log does not exists -> log is set to
      0, the imprev function will generate automatic changelog
      NB: if the file was given by the -l option, step 1/ ensured
          file existence so automatic changelog is only used when
          no make-log was performed before import.
